package com.ruoyi.project.search.viewInjobHistory.service;

import java.util.List;
import com.ruoyi.project.search.viewInjobHistory.domain.ViewInJobHistory;

/**
 * 入库流水Service接口
 * 
 * @author ruoyi
 * @date 2023-08-29
 */
public interface IViewInJobHistoryService 
{
    /**
     * 查询入库流水
     * 
     * @param jobDetailId 入库流水主键
     * @return 入库流水
     */
    public ViewInJobHistory selectViewInJobHistoryByJobDetailId(String jobDetailId);

    /**
     * 查询入库流水列表
     * 
     * @param viewInJobHistory 入库流水
     * @return 入库流水集合
     */
    public List<ViewInJobHistory> selectViewInJobHistoryList(ViewInJobHistory viewInJobHistory);

    /**
     * 新增入库流水
     * 
     * @param viewInJobHistory 入库流水
     * @return 结果
     */
    public int insertViewInJobHistory(ViewInJobHistory viewInJobHistory);

    /**
     * 修改入库流水
     * 
     * @param viewInJobHistory 入库流水
     * @return 结果
     */
    public int updateViewInJobHistory(ViewInJobHistory viewInJobHistory);

    /**
     * 批量删除入库流水
     * 
     * @param jobDetailIds 需要删除的入库流水主键集合
     * @return 结果
     */
    public int deleteViewInJobHistoryByJobDetailIds(String jobDetailIds);

    /**
     * 删除入库流水信息
     * 
     * @param jobDetailId 入库流水主键
     * @return 结果
     */
    public int deleteViewInJobHistoryByJobDetailId(String jobDetailId);
}
